package com.noble.meether.chat.ui.imui.model;

import com.noble.imui.messagelist.commons.models.IUser;

/**
 * 消息列表中用户信息
 */
public class DefaultUser implements IUser {

    private String id;
    private String displayName;
    private String avatar;
    private boolean isVip;

    public DefaultUser(String id, String displayName, String avatar, boolean isVip) {
        this.id = id;
        this.displayName = displayName;
        this.avatar = avatar;
        this.isVip = isVip;
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public String getDisplayName() {
        return displayName;
    }

    @Override
    public String getAvatarFilePath() {
        return avatar;
    }

    @Override
    public boolean isVip() {
        return isVip;
    }
}
